package com.example.es.business.user.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "wk", type = "user")
public class SysUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String userName;
    private String userNo;
    private String loginName;
    private String password;
    private String salt;
    private String mobile;
    private String email;
    private String userImage;
    private String sex;
    private String birthday;
    private String nationality;
    private String education;
    private String job;
    private String homeAddress;
    private String homeZipcode;
    private String homeTel;
    private String officeTel;
    private String officeAddress;
    private String orderBy;
    private String validateState;
    private String isLocked;
    private Long version;
    private java.sql.Timestamp createDate;
    private String cardNo;
    private Long probationPeriod;
    private java.sql.Timestamp entryDate;
    private java.sql.Timestamp quitDate;
    private java.sql.Timestamp workDate;
    private String politicalStatus;
    private String userRelation;
    private Long annualLeave;
    private String jxzj;
    private java.sql.Timestamp njqsrq;
    private java.sql.Timestamp loginTime;
    private String pwdFailures;


}